package com.deryun.tyl.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.deryun.tyl.bean.IndexImage;
import com.deryun.tyl.dao.impl.IndexImageDaoImpl;

@Service("indexImageServiceImpl")
public class IndexImageServiceImpl {

	@Resource(name="indexImageDaoImpl")
	private IndexImageDaoImpl daoImpl;
	
	public int updateIndex(IndexImage image){
		return daoImpl.updateIndex(image);
	}
	
	public List<IndexImage> getAll(){
		return daoImpl.getAll();
	}
	
	public List<IndexImage> getKuaiXun(){
		return daoImpl.getKuaiXun();
	}
}
